package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户答题成绩管理对象 user_answerscores
 * 
 * @author ruoyi
 * @date 2022-08-19
 */
public class UserAnswerscores extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private Long id;

    /** 用户编号 */
    @Excel(name = "用户编号")
    private Long userid;

    /** 诈骗类型 */
    @Excel(name = "诈骗类型")
    private Long swindleType;

    /** 用户分数 */
    @Excel(name = "用户分数")
    private Long userScore;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserid(Long userid) 
    {
        this.userid = userid;
    }

    public Long getUserid() 
    {
        return userid;
    }
    public void setSwindleType(Long swindleType) 
    {
        this.swindleType = swindleType;
    }

    public Long getSwindleType() 
    {
        return swindleType;
    }
    public void setUserScore(Long userScore) 
    {
        this.userScore = userScore;
    }

    public Long getUserScore() 
    {
        return userScore;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userid", getUserid())
            .append("swindleType", getSwindleType())
            .append("userScore", getUserScore())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
